-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KOGITO-9158 Use RestWorkItemHandler as HTTP client in Knative custom function #2993
Conversation
SonarCloud Quality Gate failed. |
(tests) - kogito-runtimes job Reproducerexport BUILD_MVN_OPTS_CURRENT=-T 1C -Dvalidate-formatting -Prun-code-coverage NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution Test results:
Those are the test failures: org.kie.kogito.serverless.workflow.executor.OpenAPIWorkflowApplicationTest.openAPIInvocationjava.lang.NullPointerExceptionat org.kie.kogito.serverless.workflow.executor.OpenAPIWorkflowApplicationTest.openAPIInvocation(OpenAPIWorkflowApplicationTest.java:73) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727) at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:217) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:213) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:138) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35) at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:147) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:127) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:90) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:55) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:102) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:54) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86) at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86) at org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:53) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:188) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:128) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548) org.kie.kogito.quarkus.workflows.ErrorRestIT.testErrorRepeatedRestjava.lang.AssertionError:1 expectation failed. Expected status code <201> but was <400>. at org.kie.kogito.quarkus.workflows.ErrorRestIT.innerErrorRest(ErrorRestIT.java:53) at org.kie.kogito.quarkus.workflows.ErrorRestIT.testErrorRepeatedRest(ErrorRestIT.java:43) org.kie.kogito.quarkus.workflows.ErrorRestIT.testErrorGenericRestjava.lang.AssertionError:1 expectation failed. JSON path workflowdata.perfect doesn't match. Expected: is Actual: Error invoking publishPerfectSquare at org.kie.kogito.quarkus.workflows.ErrorRestIT.innerErrorRest(ErrorRestIT.java:64) at org.kie.kogito.quarkus.workflows.ErrorRestIT.testErrorGenericRest(ErrorRestIT.java:38) org.kie.kogito.quarkus.workflows.ErrorRestIT.testErrorRestjava.lang.AssertionError:1 expectation failed. Expected status code <201> but was <400>. at org.kie.kogito.quarkus.workflows.ErrorRestIT.innerErrorRest(ErrorRestIT.java:53) at org.kie.kogito.quarkus.workflows.ErrorRestIT.testErrorRest(ErrorRestIT.java:33) org.kie.kogito.quarkus.it.openapi.client.ApiWithSecurityContextIT.verifyAuthHeadersOpenApi2_0java.lang.RuntimeException:java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors [error]: Build step io.quarkus.kubernetes.client.deployment.DevServicesKubernetesProcessor#setupKubernetesDevService threw an exception: java.lang.RuntimeException: org.testcontainers.containers.ContainerLaunchException: Container startup failed at io.quarkus.kubernetes.client.deployment.DevServicesKubernetesProcessor.setupKubernetesDevService(DevServicesKubernetesProcessor.java:119) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:909) at io.quarkus.builder.BuildContext.run(BuildContext.java:281) at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18) at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478) at java.base/java.lang.Thread.run(Thread.java:829) at org.jboss.threads.JBossThread.run(JBossThread.java:501) Caused by: org.testcontainers.containers.ContainerLaunchException: Container startup failed at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:349) at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:322) at io.quarkus.kubernetes.client.deployment.DevServicesKubernetesProcessor.lambda$startKubernetes$7(DevServicesKubernetesProcessor.java:227) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.quarkus.kubernetes.client.deployment.DevServicesKubernetesProcessor.startKubernetes(DevServicesKubernetesProcessor.java:241) at io.quarkus.kubernetes.client.deployment.DevServicesKubernetesProcessor.setupKubernetesDevService(DevServicesKubernetesProcessor.java:109) ... 11 more Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88) at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:334) ... 16 more Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:542) at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:344) at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81) ... 17 more Caused by: org.testcontainers.shaded.org.awaitility.core.ConditionTimeoutException: Lambda expression in com.dajudge.kindcontainer.ApiServerContainer: expected the predicate to return but it returned for input of within 10 seconds. at org.testcontainers.shaded.org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167) at org.testcontainers.shaded.org.awaitility.core.AbstractHamcrestCondition.await(AbstractHamcrestCondition.java:86) at org.testcontainers.shaded.org.awaitility.core.ConditionFactory.until(ConditionFactory.java:985) at org.testcontainers.shaded.org.awaitility.core.ConditionFactory.until(ConditionFactory.java:691) at org.testcontainers.shaded.org.awaitility.core.ConditionFactory.until(ConditionFactory.java:708) at com.dajudge.kindcontainer.ApiServerContainer.waitForDefaultNamespace(ApiServerContainer.java:150) at com.dajudge.kindcontainer.ApiServerContainer.containerIsStarting(ApiServerContainer.java:144) at org.testcontainers.containers.GenericContainer.containerIsStarting(GenericContainer.java:692) at com.dajudge.kindcontainer.KubernetesContainer.containerIsStarting(KubernetesContainer.java:151) at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:474) ... 19 more Caused by: java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors [error]: Build step io.quarkus.kubernetes.client.deployment.DevServicesKubernetesProcessor#setupKubernetesDevService threw an exception: java.lang.RuntimeException: org.testcontainers.containers.ContainerLaunchException: Container startup failed at io.quarkus.kubernetes.client.deployment.DevServicesKubernetesProcessor.setupKubernetesDevService(DevServicesKubernetesProcessor.java:119) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:909) at io.quarkus.builder.BuildContext.run(BuildContext.java:281) at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18) at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478) at java.base/java.lang.Thread.run(Thread.java:829) at org.jboss.threads.JBossThread.run(JBossThread.java:501) Caused by: org.testcontainers.containers.ContainerLaunchException: Container startup failed at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:349) at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:322) at io.quarkus.kubernetes.client.deployment.DevServicesKubernetesProcessor.lambda$startKubernetes$7(DevServicesKubernetesProcessor.java:227) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.quarkus.kubernetes.client.deployment.DevServicesKubernetesProcessor.startKubernetes(DevServicesKubernetesProcessor.java:241) at io.quarkus.kubernetes.client.deployment.DevServicesKubernetesProcessor.setupKubernetesDevService(DevServicesKubernetesProcessor.java:109) ... 11 more Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88) at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:334) ... 16 more Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:542) at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:344) at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81) ... 17 more Caused by: org.testcontainers.shaded.org.awaitility.core.ConditionTimeoutException: Lambda expression in com.dajudge.kindcontainer.ApiServerContainer: expected the predicate to return but it returned for input of within 10 seconds. at org.testcontainers.shaded.org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167) at org.testcontainers.shaded.org.awaitility.core.AbstractHamcrestCondition.await(AbstractHamcrestCondition.java:86) at org.testcontainers.shaded.org.awaitility.core.ConditionFactory.until(ConditionFactory.java:985) at org.testcontainers.shaded.org.awaitility.core.ConditionFactory.until(ConditionFactory.java:691) at org.testcontainers.shaded.org.awaitility.core.ConditionFactory.until(ConditionFactory.java:708) at com.dajudge.kindcontainer.ApiServerContainer.waitForDefaultNamespace(ApiServerContainer.java:150) at com.dajudge.kindcontainer.ApiServerContainer.containerIsStarting(ApiServerContainer.java:144) at org.testcontainers.containers.GenericContainer.containerIsStarting(GenericContainer.java:692) at com.dajudge.kindcontainer.KubernetesContainer.containerIsStarting(KubernetesContainer.java:151) at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:474) ... 19 more Caused by: io.quarkus.builder.BuildException: Build failure: Build failed due to errors [error]: Build step io.quarkus.kubernetes.client.deployment.DevServicesKubernetesProcessor#setupKubernetesDevService threw an exception: java.lang.RuntimeException: org.testcontainers.containers.ContainerLaunchException: Container startup failed at io.quarkus.kubernetes.client.deployment.DevServicesKubernetesProcessor.setupKubernetesDevService(DevServicesKubernetesProcessor.java:119) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:909) at io.quarkus.builder.BuildContext.run(BuildContext.java:281) at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18) at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478) at java.base/java.lang.Thread.run(Thread.java:829) at org.jboss.threads.JBossThread.run(JBossThread.java:501) Caused by: org.testcontainers.containers.ContainerLaunchException: Container startup failed at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:349) at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:322) at io.quarkus.kubernetes.client.deployment.DevServicesKubernetesProcessor.lambda$startKubernetes$7(DevServicesKubernetesProcessor.java:227) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.quarkus.kubernetes.client.deployment.DevServicesKubernetesProcessor.startKubernetes(DevServicesKubernetesProcessor.java:241) at io.quarkus.kubernetes.client.deployment.DevServicesKubernetesProcessor.setupKubernetesDevService(DevServicesKubernetesProcessor.java:109) ... 11 more Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88) at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:334) ... 16 more Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:542) at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:344) at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81) ... 17 more Caused by: org.testcontainers.shaded.org.awaitility.core.ConditionTimeoutException: Lambda expression in com.dajudge.kindcontainer.ApiServerContainer: expected the predicate to return but it returned for input of within 10 seconds. at org.testcontainers.shaded.org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167) at org.testcontainers.shaded.org.awaitility.core.AbstractHamcrestCondition.await(AbstractHamcrestCondition.java:86) at org.testcontainers.shaded.org.awaitility.core.ConditionFactory.until(ConditionFactory.java:985) at org.testcontainers.shaded.org.awaitility.core.ConditionFactory.until(ConditionFactory.java:691) at org.testcontainers.shaded.org.awaitility.core.ConditionFactory.until(ConditionFactory.java:708) at com.dajudge.kindcontainer.ApiServerContainer.waitForDefaultNamespace(ApiServerContainer.java:150) at com.dajudge.kindcontainer.ApiServerContainer.containerIsStarting(ApiServerContainer.java:144) at org.testcontainers.containers.GenericContainer.containerIsStarting(GenericContainer.java:692) at com.dajudge.kindcontainer.KubernetesContainer.containerIsStarting(KubernetesContainer.java:151) at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:474) ... 19 more Caused by: java.lang.RuntimeException: org.testcontainers.containers.ContainerLaunchException: Container startup failed Caused by: org.testcontainers.containers.ContainerLaunchException: Container startup failed Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container Caused by: org.testcontainers.shaded.org.awaitility.core.ConditionTimeoutException: Lambda expression in com.dajudge.kindcontainer.ApiServerContainer: expected the predicate to return but it returned for input of within 10 seconds. |
(tests) - serverless-workflow-examples job Reproducerexport BUILD_MVN_OPTS_CURRENT= NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution Test results:
Those are the test failures: org.acme.sw.onboarding.resources.OnboardingIT.verifyOnboardingWorkflowAssertion condition defined as a lambda expression in org.acme.sw.onboarding.resources.OnboardingIT that uses java.lang.Integer 1 expectation failed.JSON path $ doesn't match. Expected: a collection with size <2> Actual: <[{doctor={id=54321}, patient={name=Mick, id=12345, symptoms=[seizures], dateOfBirth=1983-08-15, assignedDoctor={id=54321}}, date=2023-05-18 10:51}]> within 1 minutes. org.acme.numbers.serverless.workflow.functions.RestExampleIT.testRestExample1 expectation failed.Expected status code <201> but was <400>. |
71b84eb
to
a18ece1
Compare
(tests) - kogito-apps job Reproducerexport BUILD_MVN_OPTS_CURRENT= NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution Test results:
Those are the test failures: org.kie.kogito.index.ProcessDataIndexInfinispanIT.testProcessInstanceEventsFailed to load ApplicationContext |
jenkins rerun kogito-apps tests |
c0738aa
to
23a6e54
Compare
(tests) - kogito-runtimes job Reproducerexport BUILD_MVN_OPTS_CURRENT=-T 1C -Dvalidate-formatting -Prun-code-coverage NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution Test results:
Those are the test failures: none See console log: Console Logs[2023-08-04T18:50:15.669Z] [INFO] Kogito :: Integration Tests :: Spring Boot ......... SUCCESS [04:30 min][2023-08-04T18:50:15.669Z] [INFO] ------------------------------------------------------------------------ [2023-08-04T18:50:15.669Z] [INFO] BUILD FAILURE [2023-08-04T18:50:15.669Z] [INFO] ------------------------------------------------------------------------ [2023-08-04T18:50:15.669Z] [INFO] Total time: 18:25 min (Wall Clock) [2023-08-04T18:50:15.669Z] [INFO] Finished at: 2023-08-04T14:50:14-04:00 [2023-08-04T18:50:15.669Z] [INFO] ------------------------------------------------------------------------ [2023-08-04T18:50:15.669Z] [ERROR] Failed to execute goal io.quarkus:quarkus-maven-plugin:2.16.8.Final:build (default) on project kogito-addons-quarkus-knative-serving-integration-tests: Failed to build quarkus application: io.quarkus.builder.BuildException: Build failure: Build failed due to errors [2023-08-04T18:50:15.669Z] [ERROR] [error]: Build step org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor#generateSources threw an exception: org.kie.kogito.codegen.process.ProcessCodegenException: Processes with errors are Invalid process: 'cloudEventWithIdAsPlainJsonKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [cloudEventWithIdAsPlainJson]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [cloudEventWithIdAsPlainJson]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [cloudEventWithIdAsPlainJson]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [cloudEventWithIdAsPlainJson]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.669Z] [ERROR] Invalid process: 'cloudEventKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [cloudEvent]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [cloudEvent]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [cloudEvent]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [cloudEvent]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.669Z] [ERROR] Invalid process: 'arrayKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [arrayKnativeFunction]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [arrayKnativeFunction]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [arrayKnativeFunction]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [arrayKnativeFunction]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.669Z] [ERROR] Invalid process: 'plainJsonKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [plainJsonKnativeFunction]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [plainJsonKnativeFunction]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [plainJsonKnativeFunction]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [plainJsonKnativeFunction]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.669Z] [ERROR] Invalid process: 'cloudEventWithIdAsParamKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [cloudEventWithIdAsParam]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [cloudEventWithIdAsParam]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [cloudEventWithIdAsParam]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [cloudEventWithIdAsParam]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.669Z] [ERROR] Invalid process: 'cloudEventWithoutIdAsPlainJsonKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [cloudEventWithoutIdAsPlainJson]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [cloudEventWithoutIdAsPlainJson]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [cloudEventWithoutIdAsPlainJson]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [cloudEventWithoutIdAsPlainJson]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.669Z] [ERROR] Invalid process: 'timeoutKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [timeoutKnativeFunction]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [timeoutKnativeFunction]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [timeoutKnativeFunction]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [timeoutKnativeFunction]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.669Z] [ERROR] Invalid process: 'cloudEventWithMissingIdKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [cloudEventWithMissingId]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [cloudEventWithMissingId]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [cloudEventWithMissingId]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [cloudEventWithMissingId]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.669Z] [ERROR] Invalid process: 'emptyParamsKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [emptyParamsKnativeFunction]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [emptyParamsKnativeFunction]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [emptyParamsKnativeFunction]: Node 'greet' [6] Task has no work specified., Process 'Test Knative function' [emptyParamsKnativeFunction]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.669Z] [ERROR] Invalid process: 'invalidCloudEventKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [invalidCloudEvent]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [invalidCloudEvent]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [invalidCloudEvent]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [invalidCloudEvent]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.670Z] [ERROR] Invalid process: 'serviceNotFoundKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [serviceNotFound]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [serviceNotFound]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [serviceNotFound]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [serviceNotFound]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.670Z] [ERROR] [2023-08-04T18:50:15.670Z] [ERROR] at org.kie.kogito.codegen.process.ProcessCodegen.handleValidation(ProcessCodegen.java:163) [2023-08-04T18:50:15.670Z] [ERROR] at org.kie.kogito.codegen.process.ProcessCodegen.ofCollectedResources(ProcessCodegen.java:142) [2023-08-04T18:50:15.670Z] [ERROR] at org.kie.kogito.codegen.process.ProcessCodegenFactory.create(ProcessCodegenFactory.java:29) [2023-08-04T18:50:15.670Z] [ERROR] at org.kie.kogito.codegen.core.utils.ApplicationGeneratorDiscovery.lambda$loadGenerators$0(ApplicationGeneratorDiscovery.java:60) [2023-08-04T18:50:15.670Z] [ERROR] at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) [2023-08-04T18:50:15.670Z] [ERROR] at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) [2023-08-04T18:50:15.670Z] [ERROR] at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) [2023-08-04T18:50:15.670Z] [ERROR] at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) [2023-08-04T18:50:15.670Z] [ERROR] at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) [2023-08-04T18:50:15.670Z] [ERROR] at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) [2023-08-04T18:50:15.670Z] [ERROR] at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) [2023-08-04T18:50:15.670Z] [ERROR] at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) [2023-08-04T18:50:15.670Z] [ERROR] at org.kie.kogito.codegen.core.utils.ApplicationGeneratorDiscovery.loadGenerators(ApplicationGeneratorDiscovery.java:62) [2023-08-04T18:50:15.670Z] [ERROR] at org.kie.kogito.codegen.core.utils.ApplicationGeneratorDiscovery.discover(ApplicationGeneratorDiscovery.java:48) [2023-08-04T18:50:15.670Z] [ERROR] at org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor.generateFiles(KogitoAssetsProcessor.java:259) [2023-08-04T18:50:15.670Z] [ERROR] at org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor.generateSources(KogitoAssetsProcessor.java:137) [2023-08-04T18:50:15.670Z] [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2023-08-04T18:50:15.670Z] [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2023-08-04T18:50:15.670Z] [ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2023-08-04T18:50:15.670Z] [ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [2023-08-04T18:50:15.670Z] [ERROR] at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:909) [2023-08-04T18:50:15.670Z] [ERROR] at io.quarkus.builder.BuildContext.run(BuildContext.java:281) [2023-08-04T18:50:15.670Z] [ERROR] at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18) [2023-08-04T18:50:15.670Z] [ERROR] at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449) [2023-08-04T18:50:15.670Z] [ERROR] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478) [2023-08-04T18:50:15.670Z] [ERROR] at java.base/java.lang.Thread.run(Thread.java:829) [2023-08-04T18:50:15.670Z] [ERROR] at org.jboss.threads.JBossThread.run(JBossThread.java:501) [2023-08-04T18:50:15.670Z] [ERROR] -> [Help 1] [2023-08-04T18:50:15.670Z] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal io.quarkus:quarkus-maven-plugin:2.16.8.Final:build (default) on project kogito-addons-quarkus-knative-serving-integration-tests: Failed to build quarkus application [2023-08-04T18:50:15.670Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:375) [2023-08-04T18:50:15.670Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351) [2023-08-04T18:50:15.670Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215) [2023-08-04T18:50:15.670Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171) [2023-08-04T18:50:15.670Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163) [2023-08-04T18:50:15.670Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) [2023-08-04T18:50:15.670Z] at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call (MultiThreadedBuilder.java:210) [2023-08-04T18:50:15.670Z] at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call (MultiThreadedBuilder.java:195) [2023-08-04T18:50:15.670Z] at java.util.concurrent.FutureTask.run (FutureTask.java:264) [2023-08-04T18:50:15.670Z] at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:515) [2023-08-04T18:50:15.670Z] at java.util.concurrent.FutureTask.run (FutureTask.java:264) [2023-08-04T18:50:15.670Z] at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1128) [2023-08-04T18:50:15.670Z] at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628) [2023-08-04T18:50:15.670Z] at java.lang.Thread.run (Thread.java:829) [2023-08-04T18:50:15.670Z] Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to build quarkus application [2023-08-04T18:50:15.670Z] at io.quarkus.maven.BuildMojo.doExecute (BuildMojo.java:170) [2023-08-04T18:50:15.670Z] at io.quarkus.maven.QuarkusBootstrapMojo.execute (QuarkusBootstrapMojo.java:154) [2023-08-04T18:50:15.670Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) [2023-08-04T18:50:15.670Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370) [2023-08-04T18:50:15.670Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351) [2023-08-04T18:50:15.670Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215) [2023-08-04T18:50:15.670Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171) [2023-08-04T18:50:15.670Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163) [2023-08-04T18:50:15.670Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) [2023-08-04T18:50:15.670Z] at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call (MultiThreadedBuilder.java:210) [2023-08-04T18:50:15.670Z] at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call (MultiThreadedBuilder.java:195) [2023-08-04T18:50:15.670Z] at java.util.concurrent.FutureTask.run (FutureTask.java:264) [2023-08-04T18:50:15.670Z] at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:515) [2023-08-04T18:50:15.670Z] at java.util.concurrent.FutureTask.run (FutureTask.java:264) [2023-08-04T18:50:15.670Z] at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1128) [2023-08-04T18:50:15.670Z] at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628) [2023-08-04T18:50:15.670Z] at java.lang.Thread.run (Thread.java:829) [2023-08-04T18:50:15.670Z] Caused by: java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors [2023-08-04T18:50:15.670Z] [error]: Build step org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor#generateSources threw an exception: org.kie.kogito.codegen.process.ProcessCodegenException: Processes with errors are Invalid process: 'cloudEventWithIdAsPlainJsonKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [cloudEventWithIdAsPlainJson]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [cloudEventWithIdAsPlainJson]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [cloudEventWithIdAsPlainJson]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [cloudEventWithIdAsPlainJson]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.670Z] Invalid process: 'cloudEventKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [cloudEvent]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [cloudEvent]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [cloudEvent]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [cloudEvent]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.670Z] Invalid process: 'arrayKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [arrayKnativeFunction]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [arrayKnativeFunction]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [arrayKnativeFunction]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [arrayKnativeFunction]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.670Z] Invalid process: 'plainJsonKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [plainJsonKnativeFunction]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [plainJsonKnativeFunction]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [plainJsonKnativeFunction]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [plainJsonKnativeFunction]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.670Z] Invalid process: 'cloudEventWithIdAsParamKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [cloudEventWithIdAsParam]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [cloudEventWithIdAsParam]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [cloudEventWithIdAsParam]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [cloudEventWithIdAsParam]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.670Z] Invalid process: 'cloudEventWithoutIdAsPlainJsonKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [cloudEventWithoutIdAsPlainJson]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [cloudEventWithoutIdAsPlainJson]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [cloudEventWithoutIdAsPlainJson]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [cloudEventWithoutIdAsPlainJson]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.670Z] Invalid process: 'timeoutKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [timeoutKnativeFunction]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [timeoutKnativeFunction]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [timeoutKnativeFunction]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [timeoutKnativeFunction]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.671Z] Invalid process: 'cloudEventWithMissingIdKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [cloudEventWithMissingId]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [cloudEventWithMissingId]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [cloudEventWithMissingId]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [cloudEventWithMissingId]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.671Z] Invalid process: 'emptyParamsKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [emptyParamsKnativeFunction]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [emptyParamsKnativeFunction]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [emptyParamsKnativeFunction]: Node 'greet' [6] Task has no work specified., Process 'Test Knative function' [emptyParamsKnativeFunction]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.671Z] Invalid process: 'invalidCloudEventKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [invalidCloudEvent]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [invalidCloudEvent]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [invalidCloudEvent]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [invalidCloudEvent]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.671Z] Invalid process: 'serviceNotFoundKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [serviceNotFound]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [serviceNotFound]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [serviceNotFound]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [serviceNotFound]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.671Z] [2023-08-04T18:50:15.671Z] at org.kie.kogito.codegen.process.ProcessCodegen.handleValidation(ProcessCodegen.java:163) [2023-08-04T18:50:15.671Z] at org.kie.kogito.codegen.process.ProcessCodegen.ofCollectedResources(ProcessCodegen.java:142) [2023-08-04T18:50:15.671Z] at org.kie.kogito.codegen.process.ProcessCodegenFactory.create(ProcessCodegenFactory.java:29) [2023-08-04T18:50:15.671Z] at org.kie.kogito.codegen.core.utils.ApplicationGeneratorDiscovery.lambda$loadGenerators$0(ApplicationGeneratorDiscovery.java:60) [2023-08-04T18:50:15.671Z] at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) [2023-08-04T18:50:15.671Z] at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) [2023-08-04T18:50:15.671Z] at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) [2023-08-04T18:50:15.671Z] at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) [2023-08-04T18:50:15.671Z] at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) [2023-08-04T18:50:15.671Z] at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) [2023-08-04T18:50:15.671Z] at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) [2023-08-04T18:50:15.671Z] at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) [2023-08-04T18:50:15.671Z] at org.kie.kogito.codegen.core.utils.ApplicationGeneratorDiscovery.loadGenerators(ApplicationGeneratorDiscovery.java:62) [2023-08-04T18:50:15.671Z] at org.kie.kogito.codegen.core.utils.ApplicationGeneratorDiscovery.discover(ApplicationGeneratorDiscovery.java:48) [2023-08-04T18:50:15.671Z] at org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor.generateFiles(KogitoAssetsProcessor.java:259) [2023-08-04T18:50:15.671Z] at org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor.generateSources(KogitoAssetsProcessor.java:137) [2023-08-04T18:50:15.671Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2023-08-04T18:50:15.671Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2023-08-04T18:50:15.671Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2023-08-04T18:50:15.671Z] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [2023-08-04T18:50:15.671Z] at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:909) [2023-08-04T18:50:15.671Z] at io.quarkus.builder.BuildContext.run(BuildContext.java:281) [2023-08-04T18:50:15.671Z] at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18) [2023-08-04T18:50:15.671Z] at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449) [2023-08-04T18:50:15.671Z] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478) [2023-08-04T18:50:15.671Z] at java.base/java.lang.Thread.run(Thread.java:829) [2023-08-04T18:50:15.671Z] at org.jboss.threads.JBossThread.run(JBossThread.java:501) [2023-08-04T18:50:15.671Z] [2023-08-04T18:50:15.671Z] at io.quarkus.runner.bootstrap.AugmentActionImpl.runAugment (AugmentActionImpl.java:335) [2023-08-04T18:50:15.671Z] at io.quarkus.runner.bootstrap.AugmentActionImpl.createProductionApplication (AugmentActionImpl.java:175) [2023-08-04T18:50:15.671Z] at io.quarkus.maven.BuildMojo.doExecute (BuildMojo.java:133) [2023-08-04T18:50:15.671Z] at io.quarkus.maven.QuarkusBootstrapMojo.execute (QuarkusBootstrapMojo.java:154) [2023-08-04T18:50:15.671Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) [2023-08-04T18:50:15.671Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370) [2023-08-04T18:50:15.671Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351) [2023-08-04T18:50:15.671Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215) [2023-08-04T18:50:15.671Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171) [2023-08-04T18:50:15.671Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163) [2023-08-04T18:50:15.671Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) [2023-08-04T18:50:15.671Z] at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call (MultiThreadedBuilder.java:210) [2023-08-04T18:50:15.671Z] at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call (MultiThreadedBuilder.java:195) [2023-08-04T18:50:15.671Z] at java.util.concurrent.FutureTask.run (FutureTask.java:264) [2023-08-04T18:50:15.671Z] at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:515) [2023-08-04T18:50:15.671Z] at java.util.concurrent.FutureTask.run (FutureTask.java:264) [2023-08-04T18:50:15.671Z] at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1128) [2023-08-04T18:50:15.671Z] at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628) [2023-08-04T18:50:15.671Z] at java.lang.Thread.run (Thread.java:829) [2023-08-04T18:50:15.671Z] Caused by: io.quarkus.builder.BuildException: Build failure: Build failed due to errors [2023-08-04T18:50:15.671Z] [error]: Build step org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor#generateSources threw an exception: org.kie.kogito.codegen.process.ProcessCodegenException: Processes with errors are Invalid process: 'cloudEventWithIdAsPlainJsonKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [cloudEventWithIdAsPlainJson]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [cloudEventWithIdAsPlainJson]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [cloudEventWithIdAsPlainJson]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [cloudEventWithIdAsPlainJson]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.671Z] Invalid process: 'cloudEventKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [cloudEvent]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [cloudEvent]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [cloudEvent]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [cloudEvent]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.671Z] Invalid process: 'arrayKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [arrayKnativeFunction]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [arrayKnativeFunction]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [arrayKnativeFunction]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [arrayKnativeFunction]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.671Z] Invalid process: 'plainJsonKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [plainJsonKnativeFunction]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [plainJsonKnativeFunction]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [plainJsonKnativeFunction]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [plainJsonKnativeFunction]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.671Z] Invalid process: 'cloudEventWithIdAsParamKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [cloudEventWithIdAsParam]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [cloudEventWithIdAsParam]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [cloudEventWithIdAsParam]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [cloudEventWithIdAsParam]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.671Z] Invalid process: 'cloudEventWithoutIdAsPlainJsonKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [cloudEventWithoutIdAsPlainJson]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [cloudEventWithoutIdAsPlainJson]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [cloudEventWithoutIdAsPlainJson]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [cloudEventWithoutIdAsPlainJson]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.672Z] Invalid process: 'timeoutKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [timeoutKnativeFunction]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [timeoutKnativeFunction]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [timeoutKnativeFunction]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [timeoutKnativeFunction]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.672Z] Invalid process: 'cloudEventWithMissingIdKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [cloudEventWithMissingId]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [cloudEventWithMissingId]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [cloudEventWithMissingId]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [cloudEventWithMissingId]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.672Z] Invalid process: 'emptyParamsKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [emptyParamsKnativeFunction]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [emptyParamsKnativeFunction]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [emptyParamsKnativeFunction]: Node 'greet' [6] Task has no work specified., Process 'Test Knative function' [emptyParamsKnativeFunction]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.672Z] Invalid process: 'invalidCloudEventKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [invalidCloudEvent]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [invalidCloudEvent]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [invalidCloudEvent]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [invalidCloudEvent]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.672Z] Invalid process: 'serviceNotFoundKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [serviceNotFound]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [serviceNotFound]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [serviceNotFound]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [serviceNotFound]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.672Z] [2023-08-04T18:50:15.672Z] at org.kie.kogito.codegen.process.ProcessCodegen.handleValidation(ProcessCodegen.java:163) [2023-08-04T18:50:15.672Z] at org.kie.kogito.codegen.process.ProcessCodegen.ofCollectedResources(ProcessCodegen.java:142) [2023-08-04T18:50:15.672Z] at org.kie.kogito.codegen.process.ProcessCodegenFactory.create(ProcessCodegenFactory.java:29) [2023-08-04T18:50:15.672Z] at org.kie.kogito.codegen.core.utils.ApplicationGeneratorDiscovery.lambda$loadGenerators$0(ApplicationGeneratorDiscovery.java:60) [2023-08-04T18:50:15.672Z] at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) [2023-08-04T18:50:15.672Z] at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) [2023-08-04T18:50:15.672Z] at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) [2023-08-04T18:50:15.672Z] at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) [2023-08-04T18:50:15.672Z] at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) [2023-08-04T18:50:15.672Z] at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) [2023-08-04T18:50:15.672Z] at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) [2023-08-04T18:50:15.672Z] at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) [2023-08-04T18:50:15.672Z] at org.kie.kogito.codegen.core.utils.ApplicationGeneratorDiscovery.loadGenerators(ApplicationGeneratorDiscovery.java:62) [2023-08-04T18:50:15.672Z] at org.kie.kogito.codegen.core.utils.ApplicationGeneratorDiscovery.discover(ApplicationGeneratorDiscovery.java:48) [2023-08-04T18:50:15.672Z] at org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor.generateFiles(KogitoAssetsProcessor.java:259) [2023-08-04T18:50:15.672Z] at org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor.generateSources(KogitoAssetsProcessor.java:137) [2023-08-04T18:50:15.672Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2023-08-04T18:50:15.672Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2023-08-04T18:50:15.672Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2023-08-04T18:50:15.672Z] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [2023-08-04T18:50:15.672Z] at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:909) [2023-08-04T18:50:15.672Z] at io.quarkus.builder.BuildContext.run(BuildContext.java:281) [2023-08-04T18:50:15.672Z] at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18) [2023-08-04T18:50:15.672Z] at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449) [2023-08-04T18:50:15.672Z] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478) [2023-08-04T18:50:15.672Z] at java.base/java.lang.Thread.run(Thread.java:829) [2023-08-04T18:50:15.672Z] at org.jboss.threads.JBossThread.run(JBossThread.java:501) [2023-08-04T18:50:15.672Z] [2023-08-04T18:50:15.672Z] at io.quarkus.builder.Execution.run (Execution.java:123) [2023-08-04T18:50:15.672Z] at io.quarkus.builder.BuildExecutionBuilder.execute (BuildExecutionBuilder.java:79) [2023-08-04T18:50:15.672Z] at io.quarkus.deployment.QuarkusAugmentor.run (QuarkusAugmentor.java:160) [2023-08-04T18:50:15.672Z] at io.quarkus.runner.bootstrap.AugmentActionImpl.runAugment (AugmentActionImpl.java:331) [2023-08-04T18:50:15.672Z] at io.quarkus.runner.bootstrap.AugmentActionImpl.createProductionApplication (AugmentActionImpl.java:175) [2023-08-04T18:50:15.672Z] at io.quarkus.maven.BuildMojo.doExecute (BuildMojo.java:133) [2023-08-04T18:50:15.672Z] at io.quarkus.maven.QuarkusBootstrapMojo.execute (QuarkusBootstrapMojo.java:154) [2023-08-04T18:50:15.672Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) [2023-08-04T18:50:15.672Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370) [2023-08-04T18:50:15.672Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351) [2023-08-04T18:50:15.672Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215) [2023-08-04T18:50:15.672Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171) [2023-08-04T18:50:15.672Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163) [2023-08-04T18:50:15.672Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) [2023-08-04T18:50:15.672Z] at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call (MultiThreadedBuilder.java:210) [2023-08-04T18:50:15.672Z] at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call (MultiThreadedBuilder.java:195) [2023-08-04T18:50:15.672Z] at java.util.concurrent.FutureTask.run (FutureTask.java:264) [2023-08-04T18:50:15.672Z] at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:515) [2023-08-04T18:50:15.672Z] at java.util.concurrent.FutureTask.run (FutureTask.java:264) [2023-08-04T18:50:15.672Z] at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1128) [2023-08-04T18:50:15.672Z] at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628) [2023-08-04T18:50:15.672Z] at java.lang.Thread.run (Thread.java:829) [2023-08-04T18:50:15.672Z] Caused by: org.kie.kogito.codegen.process.ProcessCodegenException: Processes with errors are Invalid process: 'cloudEventWithIdAsPlainJsonKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [cloudEventWithIdAsPlainJson]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [cloudEventWithIdAsPlainJson]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [cloudEventWithIdAsPlainJson]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [cloudEventWithIdAsPlainJson]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.672Z] Invalid process: 'cloudEventKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [cloudEvent]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [cloudEvent]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [cloudEvent]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [cloudEvent]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.672Z] Invalid process: 'arrayKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [arrayKnativeFunction]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [arrayKnativeFunction]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [arrayKnativeFunction]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [arrayKnativeFunction]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.672Z] Invalid process: 'plainJsonKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [plainJsonKnativeFunction]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [plainJsonKnativeFunction]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [plainJsonKnativeFunction]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [plainJsonKnativeFunction]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.672Z] Invalid process: 'cloudEventWithIdAsParamKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [cloudEventWithIdAsParam]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [cloudEventWithIdAsParam]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [cloudEventWithIdAsParam]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [cloudEventWithIdAsParam]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.672Z] Invalid process: 'cloudEventWithoutIdAsPlainJsonKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [cloudEventWithoutIdAsPlainJson]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [cloudEventWithoutIdAsPlainJson]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [cloudEventWithoutIdAsPlainJson]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [cloudEventWithoutIdAsPlainJson]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.672Z] Invalid process: 'timeoutKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [timeoutKnativeFunction]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [timeoutKnativeFunction]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [timeoutKnativeFunction]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [timeoutKnativeFunction]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.673Z] Invalid process: 'cloudEventWithMissingIdKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [cloudEventWithMissingId]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [cloudEventWithMissingId]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [cloudEventWithMissingId]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [cloudEventWithMissingId]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.673Z] Invalid process: 'emptyParamsKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [emptyParamsKnativeFunction]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [emptyParamsKnativeFunction]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [emptyParamsKnativeFunction]: Node 'greet' [6] Task has no work specified., Process 'Test Knative function' [emptyParamsKnativeFunction]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.673Z] Invalid process: 'invalidCloudEventKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [invalidCloudEvent]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [invalidCloudEvent]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [invalidCloudEvent]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [invalidCloudEvent]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.673Z] Invalid process: 'serviceNotFoundKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [serviceNotFound]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [serviceNotFound]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [serviceNotFound]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [serviceNotFound]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T18:50:15.673Z] [2023-08-04T18:50:15.673Z] at org.kie.kogito.codegen.process.ProcessCodegen.handleValidation (ProcessCodegen.java:163) [2023-08-04T18:50:15.673Z] at org.kie.kogito.codegen.process.ProcessCodegen.ofCollectedResources (ProcessCodegen.java:142) [2023-08-04T18:50:15.673Z] at org.kie.kogito.codegen.process.ProcessCodegenFactory.create (ProcessCodegenFactory.java:29) [2023-08-04T18:50:15.673Z] at org.kie.kogito.codegen.core.utils.ApplicationGeneratorDiscovery.lambda$loadGenerators$0 (ApplicationGeneratorDiscovery.java:60) [2023-08-04T18:50:15.673Z] at java.util.stream.ReferencePipeline$3$1.accept (ReferencePipeline.java:195) [2023-08-04T18:50:15.673Z] at java.util.Iterator.forEachRemaining (Iterator.java:133) [2023-08-04T18:50:15.673Z] at java.util.Spliterators$IteratorSpliterator.forEachRemaining (Spliterators.java:1801) [2023-08-04T18:50:15.673Z] at java.util.stream.AbstractPipeline.copyInto (AbstractPipeline.java:484) [2023-08-04T18:50:15.673Z] at java.util.stream.AbstractPipeline.wrapAndCopyInto (AbstractPipeline.java:474) [2023-08-04T18:50:15.673Z] at java.util.stream.ReduceOps$ReduceOp.evaluateSequential (ReduceOps.java:913) [2023-08-04T18:50:15.673Z] at java.util.stream.AbstractPipeline.evaluate (AbstractPipeline.java:234) [2023-08-04T18:50:15.673Z] at java.util.stream.ReferencePipeline.collect (ReferencePipeline.java:578) [2023-08-04T18:50:15.673Z] at org.kie.kogito.codegen.core.utils.ApplicationGeneratorDiscovery.loadGenerators (ApplicationGeneratorDiscovery.java:62) [2023-08-04T18:50:15.673Z] at org.kie.kogito.codegen.core.utils.ApplicationGeneratorDiscovery.discover (ApplicationGeneratorDiscovery.java:48) [2023-08-04T18:50:15.673Z] at org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor.generateFiles (KogitoAssetsProcessor.java:259) [2023-08-04T18:50:15.673Z] at org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor.generateSources (KogitoAssetsProcessor.java:137) [2023-08-04T18:50:15.673Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) [2023-08-04T18:50:15.673Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) [2023-08-04T18:50:15.673Z] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) [2023-08-04T18:50:15.673Z] at java.lang.reflect.Method.invoke (Method.java:566) [2023-08-04T18:50:15.673Z] at io.quarkus.deployment.ExtensionLoader$3.execute (ExtensionLoader.java:909) [2023-08-04T18:50:15.673Z] at io.quarkus.builder.BuildContext.run (BuildContext.java:281) [2023-08-04T18:50:15.673Z] at org.jboss.threads.ContextHandler$1.runWith (ContextHandler.java:18) [2023-08-04T18:50:15.673Z] at org.jboss.threads.EnhancedQueueExecutor$Task.run (EnhancedQueueExecutor.java:2449) [2023-08-04T18:50:15.673Z] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run (EnhancedQueueExecutor.java:1478) [2023-08-04T18:50:15.673Z] at java.lang.Thread.run (Thread.java:829) [2023-08-04T18:50:15.673Z] at org.jboss.threads.JBossThread.run (JBossThread.java:501) [2023-08-04T18:50:15.673Z] [ERROR] [2023-08-04T18:50:15.673Z] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [2023-08-04T18:50:15.673Z] [ERROR] [2023-08-04T18:50:15.673Z] [ERROR] For more information about the errors and possible solutions, please read the following articles: [2023-08-04T18:50:15.673Z] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [2023-08-04T18:50:15.673Z] [ERROR] [2023-08-04T18:50:15.673Z] [ERROR] After correcting the problems, you can resume the build with the command [2023-08-04T18:50:15.673Z] [ERROR] mvn -rf :kogito-addons-quarkus-knative-serving-integration-tests [2023-08-04T18:50:18.177Z] [INFO] kiegroup/kogito-runtimes failed. Won't execute remaining commands and projects [2023-08-04T18:50:18.177Z] [INFO] Execution summary for kiegroup/kogito-runtimes [2023-08-04T18:50:18.177Z] # [BEFORE] [kiegroup/kogito-runtimes] export INTEGRATION_BRANCH= [2023-08-04T18:50:18.177Z] [INFO] OK [Executed in 0.194094 ms] [2023-08-04T18:50:18.177Z] [2023-08-04T18:50:18.177Z] # [BEFORE] [kiegroup/kogito-runtimes] bash -c "if [ ! -z '' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ; fi" [2023-08-04T18:50:18.177Z] [INFO] OK [Executed in 6.911139 ms] [2023-08-04T18:50:18.177Z] [2023-08-04T18:50:18.177Z] # [COMMANDS] [kiegroup/kogito-runtimes] export MVN_CMD=`bash -c "if [ '' = 'true' ]; then printf 'deploy '; else printf 'install'; fi"` [2023-08-04T18:50:18.177Z] [INFO] OK [Executed in 6.012343 ms] [2023-08-04T18:50:18.177Z] [2023-08-04T18:50:18.177Z] # [COMMANDS] [kiegroup/kogito-runtimes] mvn dependency:tree clean -Dfull install -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.kogito-runtimes@tmp/config3379882899182644616tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3 -T 1C -Dvalidate-formatting -Prun-code-coverage -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B [2023-08-04T18:50:18.177Z] [INFO] NOT OK [Executed in 1109010.742286 ms] [2023-08-04T18:50:18.177Z] [ERROR] The process '/opt/tools/apache-maven-3.8.7/bin/mvn' failed with exit code 1 [2023-08-04T18:50:18.177Z] [2023-08-04T18:50:18.177Z] [INFO] [AFTER] No commands were found for kiegroup/kogito-runtimes [2023-08-04T18:50:18.177Z] [2023-08-04T18:50:18.177Z] # Uploading artifacts [2023-08-04T18:50:18.177Z] [INFO] Will not upload any artifacts in CLI environment [2023-08-04T18:50:18.177Z] [2023-08-04T18:50:18.177Z] [ERROR] Failed to execute commands for kiegroup/kogito-runtimes [2023-08-04T18:50:18.177Z] [ERROR] Failed to execute mvn dependency:tree clean -Dfull install -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.kogito-runtimes@tmp/config3379882899182644616tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3 -T 1C -Dvalidate-formatting -Prun-code-coverage -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B : [2023-08-04T18:50:18.177Z] [ERROR] The process '/opt/tools/apache-maven-3.8.7/bin/mvn' failed with exit code 1 [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [2023-08-04T18:50:18.527Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // script Post stage [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-04T18:50:19.081Z] + find . -type d -name node_modules -exec rm -rf '{}' ';' [Pipeline] junit [2023-08-04T18:50:20.980Z] Recording test results [2023-08-04T18:50:24.669Z] [Checks API] No suitable checks publisher found. [Pipeline] archiveArtifacts [2023-08-04T18:50:24.693Z] Archiving artifacts [Pipeline] } [Pipeline] // script [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-04T18:50:25.922Z] + rm -rf console.log [Pipeline] sh [2023-08-04T18:50:26.217Z] + wget --no-check-certificate -qO - https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-runtimes.tests.kogito-runtimes/2986/consoleText [2023-08-04T18:50:26.217Z] + tail -n 300 |
(tests) - serverless-workflow-examples job Reproducerexport BUILD_MVN_OPTS_CURRENT= NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution Test results:
Those are the test failures: none See console log: Console Logs[2023-08-04T19:08:23.263Z] [ERROR] Failed to execute goal io.quarkus:quarkus-maven-plugin:2.16.8.Final:build (default) on project workflow: Failed to build quarkus application: io.quarkus.builder.BuildException: Build failure: Build failed due to errors[2023-08-04T19:08:23.263Z] [ERROR] [error]: Build step org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor#generateSources threw an exception: org.kie.kogito.codegen.process.ProcessCodegenException: Processes with errors are Invalid process: 'cloudeventKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [cloudEventKnativeFunction]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [cloudEventKnativeFunction]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [cloudEventKnativeFunction]: Node 'greet' [6] Task has no work specified., Process 'Test Knative function' [cloudEventKnativeFunction]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T19:08:23.263Z] [ERROR] Invalid process: 'fullGvkPlainJsonKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [fullGvkPlainJsonKnativeFunction]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [fullGvkPlainJsonKnativeFunction]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [fullGvkPlainJsonKnativeFunction]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [fullGvkPlainJsonKnativeFunction]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T19:08:23.263Z] [ERROR] Invalid process: 'plainJsonKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [plainJsonKnativeFunction]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [plainJsonKnativeFunction]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [plainJsonKnativeFunction]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [plainJsonKnativeFunction]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T19:08:23.263Z] [ERROR] [2023-08-04T19:08:23.263Z] [ERROR] at org.kie.kogito.codegen.process.ProcessCodegen.handleValidation(ProcessCodegen.java:163) [2023-08-04T19:08:23.263Z] [ERROR] at org.kie.kogito.codegen.process.ProcessCodegen.ofCollectedResources(ProcessCodegen.java:142) [2023-08-04T19:08:23.263Z] [ERROR] at org.kie.kogito.codegen.process.ProcessCodegenFactory.create(ProcessCodegenFactory.java:29) [2023-08-04T19:08:23.263Z] [ERROR] at org.kie.kogito.codegen.core.utils.ApplicationGeneratorDiscovery.lambda$loadGenerators$0(ApplicationGeneratorDiscovery.java:60) [2023-08-04T19:08:23.263Z] [ERROR] at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) [2023-08-04T19:08:23.263Z] [ERROR] at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) [2023-08-04T19:08:23.263Z] [ERROR] at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) [2023-08-04T19:08:23.263Z] [ERROR] at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) [2023-08-04T19:08:23.263Z] [ERROR] at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) [2023-08-04T19:08:23.263Z] [ERROR] at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) [2023-08-04T19:08:23.263Z] [ERROR] at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) [2023-08-04T19:08:23.263Z] [ERROR] at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) [2023-08-04T19:08:23.263Z] [ERROR] at org.kie.kogito.codegen.core.utils.ApplicationGeneratorDiscovery.loadGenerators(ApplicationGeneratorDiscovery.java:62) [2023-08-04T19:08:23.263Z] [ERROR] at org.kie.kogito.codegen.core.utils.ApplicationGeneratorDiscovery.discover(ApplicationGeneratorDiscovery.java:48) [2023-08-04T19:08:23.263Z] [ERROR] at org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor.generateFiles(KogitoAssetsProcessor.java:259) [2023-08-04T19:08:23.263Z] [ERROR] at org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor.generateSources(KogitoAssetsProcessor.java:137) [2023-08-04T19:08:23.263Z] [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2023-08-04T19:08:23.263Z] [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2023-08-04T19:08:23.263Z] [ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2023-08-04T19:08:23.263Z] [ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [2023-08-04T19:08:23.263Z] [ERROR] at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:909) [2023-08-04T19:08:23.263Z] [ERROR] at io.quarkus.builder.BuildContext.run(BuildContext.java:281) [2023-08-04T19:08:23.263Z] [ERROR] at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18) [2023-08-04T19:08:23.263Z] [ERROR] at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449) [2023-08-04T19:08:23.263Z] [ERROR] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478) [2023-08-04T19:08:23.263Z] [ERROR] at java.base/java.lang.Thread.run(Thread.java:829) [2023-08-04T19:08:23.263Z] [ERROR] at org.jboss.threads.JBossThread.run(JBossThread.java:501) [2023-08-04T19:08:23.263Z] [ERROR] -> [Help 1] [2023-08-04T19:08:23.263Z] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal io.quarkus:quarkus-maven-plugin:2.16.8.Final:build (default) on project workflow: Failed to build quarkus application [2023-08-04T19:08:23.263Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:375) [2023-08-04T19:08:23.263Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351) [2023-08-04T19:08:23.263Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215) [2023-08-04T19:08:23.263Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171) [2023-08-04T19:08:23.263Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163) [2023-08-04T19:08:23.263Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) [2023-08-04T19:08:23.263Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) [2023-08-04T19:08:23.263Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) [2023-08-04T19:08:23.263Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) [2023-08-04T19:08:23.263Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298) [2023-08-04T19:08:23.263Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) [2023-08-04T19:08:23.263Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) [2023-08-04T19:08:23.263Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960) [2023-08-04T19:08:23.263Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293) [2023-08-04T19:08:23.263Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:196) [2023-08-04T19:08:23.263Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) [2023-08-04T19:08:23.263Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) [2023-08-04T19:08:23.263Z] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) [2023-08-04T19:08:23.263Z] at java.lang.reflect.Method.invoke (Method.java:566) [2023-08-04T19:08:23.263Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) [2023-08-04T19:08:23.263Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) [2023-08-04T19:08:23.263Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) [2023-08-04T19:08:23.263Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) [2023-08-04T19:08:23.263Z] Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to build quarkus application [2023-08-04T19:08:23.263Z] at io.quarkus.maven.BuildMojo.doExecute (BuildMojo.java:170) [2023-08-04T19:08:23.263Z] at io.quarkus.maven.QuarkusBootstrapMojo.execute (QuarkusBootstrapMojo.java:154) [2023-08-04T19:08:23.263Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) [2023-08-04T19:08:23.263Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370) [2023-08-04T19:08:23.263Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351) [2023-08-04T19:08:23.263Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215) [2023-08-04T19:08:23.263Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171) [2023-08-04T19:08:23.263Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163) [2023-08-04T19:08:23.263Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) [2023-08-04T19:08:23.263Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) [2023-08-04T19:08:23.263Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) [2023-08-04T19:08:23.263Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) [2023-08-04T19:08:23.263Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298) [2023-08-04T19:08:23.263Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) [2023-08-04T19:08:23.263Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) [2023-08-04T19:08:23.263Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960) [2023-08-04T19:08:23.263Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293) [2023-08-04T19:08:23.263Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:196) [2023-08-04T19:08:23.263Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) [2023-08-04T19:08:23.263Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) [2023-08-04T19:08:23.263Z] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) [2023-08-04T19:08:23.263Z] at java.lang.reflect.Method.invoke (Method.java:566) [2023-08-04T19:08:23.263Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) [2023-08-04T19:08:23.263Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) [2023-08-04T19:08:23.263Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) [2023-08-04T19:08:23.263Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) [2023-08-04T19:08:23.263Z] Caused by: java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors [2023-08-04T19:08:23.263Z] [error]: Build step org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor#generateSources threw an exception: org.kie.kogito.codegen.process.ProcessCodegenException: Processes with errors are Invalid process: 'cloudeventKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [cloudEventKnativeFunction]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [cloudEventKnativeFunction]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [cloudEventKnativeFunction]: Node 'greet' [6] Task has no work specified., Process 'Test Knative function' [cloudEventKnativeFunction]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T19:08:23.264Z] Invalid process: 'fullGvkPlainJsonKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [fullGvkPlainJsonKnativeFunction]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [fullGvkPlainJsonKnativeFunction]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [fullGvkPlainJsonKnativeFunction]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [fullGvkPlainJsonKnativeFunction]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T19:08:23.264Z] Invalid process: 'plainJsonKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [plainJsonKnativeFunction]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [plainJsonKnativeFunction]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [plainJsonKnativeFunction]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [plainJsonKnativeFunction]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T19:08:23.264Z] [2023-08-04T19:08:23.264Z] at org.kie.kogito.codegen.process.ProcessCodegen.handleValidation(ProcessCodegen.java:163) [2023-08-04T19:08:23.264Z] at org.kie.kogito.codegen.process.ProcessCodegen.ofCollectedResources(ProcessCodegen.java:142) [2023-08-04T19:08:23.264Z] at org.kie.kogito.codegen.process.ProcessCodegenFactory.create(ProcessCodegenFactory.java:29) [2023-08-04T19:08:23.264Z] at org.kie.kogito.codegen.core.utils.ApplicationGeneratorDiscovery.lambda$loadGenerators$0(ApplicationGeneratorDiscovery.java:60) [2023-08-04T19:08:23.264Z] at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) [2023-08-04T19:08:23.264Z] at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) [2023-08-04T19:08:23.264Z] at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) [2023-08-04T19:08:23.264Z] at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) [2023-08-04T19:08:23.264Z] at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) [2023-08-04T19:08:23.264Z] at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) [2023-08-04T19:08:23.264Z] at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) [2023-08-04T19:08:23.264Z] at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) [2023-08-04T19:08:23.264Z] at org.kie.kogito.codegen.core.utils.ApplicationGeneratorDiscovery.loadGenerators(ApplicationGeneratorDiscovery.java:62) [2023-08-04T19:08:23.264Z] at org.kie.kogito.codegen.core.utils.ApplicationGeneratorDiscovery.discover(ApplicationGeneratorDiscovery.java:48) [2023-08-04T19:08:23.264Z] at org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor.generateFiles(KogitoAssetsProcessor.java:259) [2023-08-04T19:08:23.264Z] at org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor.generateSources(KogitoAssetsProcessor.java:137) [2023-08-04T19:08:23.264Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2023-08-04T19:08:23.264Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2023-08-04T19:08:23.264Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2023-08-04T19:08:23.264Z] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [2023-08-04T19:08:23.264Z] at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:909) [2023-08-04T19:08:23.264Z] at io.quarkus.builder.BuildContext.run(BuildContext.java:281) [2023-08-04T19:08:23.264Z] at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18) [2023-08-04T19:08:23.264Z] at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449) [2023-08-04T19:08:23.264Z] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478) [2023-08-04T19:08:23.264Z] at java.base/java.lang.Thread.run(Thread.java:829) [2023-08-04T19:08:23.264Z] at org.jboss.threads.JBossThread.run(JBossThread.java:501) [2023-08-04T19:08:23.264Z] [2023-08-04T19:08:23.264Z] at io.quarkus.runner.bootstrap.AugmentActionImpl.runAugment (AugmentActionImpl.java:335) [2023-08-04T19:08:23.264Z] at io.quarkus.runner.bootstrap.AugmentActionImpl.createProductionApplication (AugmentActionImpl.java:175) [2023-08-04T19:08:23.264Z] at io.quarkus.maven.BuildMojo.doExecute (BuildMojo.java:133) [2023-08-04T19:08:23.264Z] at io.quarkus.maven.QuarkusBootstrapMojo.execute (QuarkusBootstrapMojo.java:154) [2023-08-04T19:08:23.264Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) [2023-08-04T19:08:23.264Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370) [2023-08-04T19:08:23.264Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351) [2023-08-04T19:08:23.264Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215) [2023-08-04T19:08:23.264Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171) [2023-08-04T19:08:23.264Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163) [2023-08-04T19:08:23.264Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) [2023-08-04T19:08:23.264Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) [2023-08-04T19:08:23.264Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) [2023-08-04T19:08:23.264Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) [2023-08-04T19:08:23.264Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298) [2023-08-04T19:08:23.264Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) [2023-08-04T19:08:23.264Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) [2023-08-04T19:08:23.264Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960) [2023-08-04T19:08:23.264Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293) [2023-08-04T19:08:23.264Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:196) [2023-08-04T19:08:23.264Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) [2023-08-04T19:08:23.264Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) [2023-08-04T19:08:23.264Z] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) [2023-08-04T19:08:23.264Z] at java.lang.reflect.Method.invoke (Method.java:566) [2023-08-04T19:08:23.264Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) [2023-08-04T19:08:23.264Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) [2023-08-04T19:08:23.264Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) [2023-08-04T19:08:23.264Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) [2023-08-04T19:08:23.264Z] Caused by: io.quarkus.builder.BuildException: Build failure: Build failed due to errors [2023-08-04T19:08:23.264Z] [error]: Build step org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor#generateSources threw an exception: org.kie.kogito.codegen.process.ProcessCodegenException: Processes with errors are Invalid process: 'cloudeventKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [cloudEventKnativeFunction]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [cloudEventKnativeFunction]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [cloudEventKnativeFunction]: Node 'greet' [6] Task has no work specified., Process 'Test Knative function' [cloudEventKnativeFunction]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T19:08:23.264Z] Invalid process: 'fullGvkPlainJsonKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [fullGvkPlainJsonKnativeFunction]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [fullGvkPlainJsonKnativeFunction]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [fullGvkPlainJsonKnativeFunction]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [fullGvkPlainJsonKnativeFunction]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T19:08:23.264Z] Invalid process: 'plainJsonKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [plainJsonKnativeFunction]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [plainJsonKnativeFunction]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [plainJsonKnativeFunction]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [plainJsonKnativeFunction]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T19:08:23.264Z] [2023-08-04T19:08:23.264Z] at org.kie.kogito.codegen.process.ProcessCodegen.handleValidation(ProcessCodegen.java:163) [2023-08-04T19:08:23.264Z] at org.kie.kogito.codegen.process.ProcessCodegen.ofCollectedResources(ProcessCodegen.java:142) [2023-08-04T19:08:23.264Z] at org.kie.kogito.codegen.process.ProcessCodegenFactory.create(ProcessCodegenFactory.java:29) [2023-08-04T19:08:23.264Z] at org.kie.kogito.codegen.core.utils.ApplicationGeneratorDiscovery.lambda$loadGenerators$0(ApplicationGeneratorDiscovery.java:60) [2023-08-04T19:08:23.264Z] at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) [2023-08-04T19:08:23.264Z] at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) [2023-08-04T19:08:23.264Z] at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) [2023-08-04T19:08:23.264Z] at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) [2023-08-04T19:08:23.264Z] at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) [2023-08-04T19:08:23.264Z] at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) [2023-08-04T19:08:23.264Z] at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) [2023-08-04T19:08:23.264Z] at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) [2023-08-04T19:08:23.264Z] at org.kie.kogito.codegen.core.utils.ApplicationGeneratorDiscovery.loadGenerators(ApplicationGeneratorDiscovery.java:62) [2023-08-04T19:08:23.264Z] at org.kie.kogito.codegen.core.utils.ApplicationGeneratorDiscovery.discover(ApplicationGeneratorDiscovery.java:48) [2023-08-04T19:08:23.264Z] at org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor.generateFiles(KogitoAssetsProcessor.java:259) [2023-08-04T19:08:23.264Z] at org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor.generateSources(KogitoAssetsProcessor.java:137) [2023-08-04T19:08:23.264Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2023-08-04T19:08:23.264Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2023-08-04T19:08:23.264Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2023-08-04T19:08:23.264Z] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [2023-08-04T19:08:23.264Z] at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:909) [2023-08-04T19:08:23.264Z] at io.quarkus.builder.BuildContext.run(BuildContext.java:281) [2023-08-04T19:08:23.264Z] at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18) [2023-08-04T19:08:23.264Z] at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449) [2023-08-04T19:08:23.264Z] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478) [2023-08-04T19:08:23.264Z] at java.base/java.lang.Thread.run(Thread.java:829) [2023-08-04T19:08:23.264Z] at org.jboss.threads.JBossThread.run(JBossThread.java:501) [2023-08-04T19:08:23.264Z] [2023-08-04T19:08:23.264Z] at io.quarkus.builder.Execution.run (Execution.java:123) [2023-08-04T19:08:23.264Z] at io.quarkus.builder.BuildExecutionBuilder.execute (BuildExecutionBuilder.java:79) [2023-08-04T19:08:23.264Z] at io.quarkus.deployment.QuarkusAugmentor.run (QuarkusAugmentor.java:160) [2023-08-04T19:08:23.264Z] at io.quarkus.runner.bootstrap.AugmentActionImpl.runAugment (AugmentActionImpl.java:331) [2023-08-04T19:08:23.264Z] at io.quarkus.runner.bootstrap.AugmentActionImpl.createProductionApplication (AugmentActionImpl.java:175) [2023-08-04T19:08:23.264Z] at io.quarkus.maven.BuildMojo.doExecute (BuildMojo.java:133) [2023-08-04T19:08:23.264Z] at io.quarkus.maven.QuarkusBootstrapMojo.execute (QuarkusBootstrapMojo.java:154) [2023-08-04T19:08:23.265Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) [2023-08-04T19:08:23.265Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370) [2023-08-04T19:08:23.265Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351) [2023-08-04T19:08:23.265Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215) [2023-08-04T19:08:23.265Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171) [2023-08-04T19:08:23.265Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163) [2023-08-04T19:08:23.265Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) [2023-08-04T19:08:23.265Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) [2023-08-04T19:08:23.265Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) [2023-08-04T19:08:23.265Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) [2023-08-04T19:08:23.265Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298) [2023-08-04T19:08:23.265Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) [2023-08-04T19:08:23.265Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) [2023-08-04T19:08:23.265Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960) [2023-08-04T19:08:23.265Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293) [2023-08-04T19:08:23.265Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:196) [2023-08-04T19:08:23.265Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) [2023-08-04T19:08:23.265Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) [2023-08-04T19:08:23.265Z] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) [2023-08-04T19:08:23.265Z] at java.lang.reflect.Method.invoke (Method.java:566) [2023-08-04T19:08:23.265Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) [2023-08-04T19:08:23.265Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) [2023-08-04T19:08:23.265Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) [2023-08-04T19:08:23.265Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) [2023-08-04T19:08:23.265Z] Caused by: org.kie.kogito.codegen.process.ProcessCodegenException: Processes with errors are Invalid process: 'cloudeventKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [cloudEventKnativeFunction]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [cloudEventKnativeFunction]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [cloudEventKnativeFunction]: Node 'greet' [6] Task has no work specified., Process 'Test Knative function' [cloudEventKnativeFunction]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T19:08:23.265Z] Invalid process: 'fullGvkPlainJsonKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [fullGvkPlainJsonKnativeFunction]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [fullGvkPlainJsonKnativeFunction]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [fullGvkPlainJsonKnativeFunction]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [fullGvkPlainJsonKnativeFunction]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T19:08:23.265Z] Invalid process: 'plainJsonKnativeFunction.sw.json'. Found error: java.lang.IllegalStateException: Process could not be validated ![Process 'Test Knative function' [plainJsonKnativeFunction]: Node 'greet' [6] Task has no incoming connection., Process 'Test Knative function' [plainJsonKnativeFunction]: Node 'greet' [6] Task has no outgoing connection., Process 'Test Knative function' [plainJsonKnativeFunction]: Node 'greet' [6] Task has no task type., Process 'Test Knative function' [plainJsonKnativeFunction]: Node 'greet' [6] Has no connection to the start node.] [2023-08-04T19:08:23.265Z] [2023-08-04T19:08:23.265Z] at org.kie.kogito.codegen.process.ProcessCodegen.handleValidation (ProcessCodegen.java:163) [2023-08-04T19:08:23.265Z] at org.kie.kogito.codegen.process.ProcessCodegen.ofCollectedResources (ProcessCodegen.java:142) [2023-08-04T19:08:23.265Z] at org.kie.kogito.codegen.process.ProcessCodegenFactory.create (ProcessCodegenFactory.java:29) [2023-08-04T19:08:23.265Z] at org.kie.kogito.codegen.core.utils.ApplicationGeneratorDiscovery.lambda$loadGenerators$0 (ApplicationGeneratorDiscovery.java:60) [2023-08-04T19:08:23.265Z] at java.util.stream.ReferencePipeline$3$1.accept (ReferencePipeline.java:195) [2023-08-04T19:08:23.265Z] at java.util.Iterator.forEachRemaining (Iterator.java:133) [2023-08-04T19:08:23.265Z] at java.util.Spliterators$IteratorSpliterator.forEachRemaining (Spliterators.java:1801) [2023-08-04T19:08:23.265Z] at java.util.stream.AbstractPipeline.copyInto (AbstractPipeline.java:484) [2023-08-04T19:08:23.265Z] at java.util.stream.AbstractPipeline.wrapAndCopyInto (AbstractPipeline.java:474) [2023-08-04T19:08:23.265Z] at java.util.stream.ReduceOps$ReduceOp.evaluateSequential (ReduceOps.java:913) [2023-08-04T19:08:23.265Z] at java.util.stream.AbstractPipeline.evaluate (AbstractPipeline.java:234) [2023-08-04T19:08:23.265Z] at java.util.stream.ReferencePipeline.collect (ReferencePipeline.java:578) [2023-08-04T19:08:23.265Z] at org.kie.kogito.codegen.core.utils.ApplicationGeneratorDiscovery.loadGenerators (ApplicationGeneratorDiscovery.java:62) [2023-08-04T19:08:23.265Z] at org.kie.kogito.codegen.core.utils.ApplicationGeneratorDiscovery.discover (ApplicationGeneratorDiscovery.java:48) [2023-08-04T19:08:23.265Z] at org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor.generateFiles (KogitoAssetsProcessor.java:259) [2023-08-04T19:08:23.265Z] at org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor.generateSources (KogitoAssetsProcessor.java:137) [2023-08-04T19:08:23.265Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) [2023-08-04T19:08:23.265Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) [2023-08-04T19:08:23.265Z] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) [2023-08-04T19:08:23.265Z] at java.lang.reflect.Method.invoke (Method.java:566) [2023-08-04T19:08:23.265Z] at io.quarkus.deployment.ExtensionLoader$3.execute (ExtensionLoader.java:909) [2023-08-04T19:08:23.265Z] at io.quarkus.builder.BuildContext.run (BuildContext.java:281) [2023-08-04T19:08:23.265Z] at org.jboss.threads.ContextHandler$1.runWith (ContextHandler.java:18) [2023-08-04T19:08:23.265Z] at org.jboss.threads.EnhancedQueueExecutor$Task.run (EnhancedQueueExecutor.java:2449) [2023-08-04T19:08:23.265Z] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run (EnhancedQueueExecutor.java:1478) [2023-08-04T19:08:23.265Z] at java.lang.Thread.run (Thread.java:829) [2023-08-04T19:08:23.265Z] at org.jboss.threads.JBossThread.run (JBossThread.java:501) [2023-08-04T19:08:23.265Z] [ERROR] [2023-08-04T19:08:23.265Z] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [2023-08-04T19:08:23.265Z] [ERROR] [2023-08-04T19:08:23.265Z] [ERROR] For more information about the errors and possible solutions, please read the following articles: [2023-08-04T19:08:23.265Z] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [2023-08-04T19:08:23.265Z] [ERROR] [2023-08-04T19:08:23.265Z] [ERROR] After correcting the problems, you can resume the build with the command [2023-08-04T19:08:23.265Z] [ERROR] mvn -rf :workflow [2023-08-04T19:08:24.188Z] [INFO] kiegroup/kogito-examples failed. Won't execute remaining commands and projects [2023-08-04T19:08:24.188Z] [INFO] Execution summary for kiegroup/kogito-examples [2023-08-04T19:08:24.188Z] # [BEFORE] [kiegroup/kogito-examples] export INTEGRATION_BRANCH= [2023-08-04T19:08:24.188Z] [INFO] OK [Executed in 0.056676 ms] [2023-08-04T19:08:24.188Z] [2023-08-04T19:08:24.188Z] # [BEFORE] [kiegroup/kogito-examples] bash -c "if [ ! -z '' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ; fi" [2023-08-04T19:08:24.188Z] [INFO] OK [Executed in 4.966837 ms] [2023-08-04T19:08:24.188Z] [2023-08-04T19:08:24.188Z] # [COMMANDS] [kiegroup/kogito-examples] export MVN_CMD=`bash -c "if [ '' = 'true' ]; then printf 'deploy '; else printf 'install'; fi"` [2023-08-04T19:08:24.188Z] [INFO] OK [Executed in 4.429999 ms] [2023-08-04T19:08:24.188Z] [2023-08-04T19:08:24.188Z] # [COMMANDS] [kiegroup/kogito-examples] mvn dependency:tree -pl :kogito-examples clean install -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.serverless-workflow-examples@tmp/config8849019247140645296tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B [2023-08-04T19:08:24.188Z] [INFO] OK [Executed in 4931.686746 ms] [2023-08-04T19:08:24.188Z] [2023-08-04T19:08:24.189Z] # [COMMANDS] [kiegroup/kogito-examples] mvn dependency:tree -f serverless-workflow-examples/pom.xml clean install -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.serverless-workflow-examples@tmp/config8849019247140645296tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B [2023-08-04T19:08:24.189Z] [INFO] NOT OK [Executed in 1714491.116628 ms] [2023-08-04T19:08:24.189Z] [ERROR] The process '/opt/tools/apache-maven-3.8.7/bin/mvn' failed with exit code 1 [2023-08-04T19:08:24.189Z] [2023-08-04T19:08:24.189Z] [INFO] [AFTER] No commands were found for kiegroup/kogito-examples [2023-08-04T19:08:24.189Z] [2023-08-04T19:08:24.189Z] # Uploading artifacts [2023-08-04T19:08:24.189Z] [INFO] Will not upload any artifacts in CLI environment [2023-08-04T19:08:24.189Z] [2023-08-04T19:08:24.189Z] [ERROR] Failed to execute commands for kiegroup/kogito-examples [2023-08-04T19:08:24.189Z] [ERROR] Failed to execute mvn dependency:tree -f serverless-workflow-examples/pom.xml clean install -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.serverless-workflow-examples@tmp/config8849019247140645296tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B : [2023-08-04T19:08:24.189Z] [ERROR] The process '/opt/tools/apache-maven-3.8.7/bin/mvn' failed with exit code 1 [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [2023-08-04T19:08:24.510Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // script Post stage [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-04T19:08:24.989Z] + find . -type d -name node_modules -exec rm -rf '{}' ';' [Pipeline] junit [2023-08-04T19:08:29.160Z] Recording test results [2023-08-04T19:08:32.197Z] [Checks API] No suitable checks publisher found. [Pipeline] archiveArtifacts [2023-08-04T19:08:32.214Z] Archiving artifacts [Pipeline] } [Pipeline] // script [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-04T19:08:33.716Z] + rm -rf console.log [Pipeline] sh [2023-08-04T19:08:34.005Z] + wget --no-check-certificate -qO - https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-runtimes.tests.downstream.serverless-workflow-examples/1303/consoleText [2023-08-04T19:08:34.005Z] + tail -n 300 |
...va/org/kie/kogito/addons/quarkus/knative/serving/customfunctions/KnativeWorkItemHandler.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very good job Helber,
Just proposing to handle timeout parameter differently
...va/org/kie/kogito/addons/quarkus/knative/serving/customfunctions/KnativeWorkItemHandler.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks very good, just one comment.
...ie/kogito/addons/quarkus/knative/serving/customfunctions/KnativeWorkItemHandlerProducer.java
Outdated
Show resolved
Hide resolved
… function Signed-off-by: Helber Belmiro <[email protected]>
Signed-off-by: Helber Belmiro <[email protected]>
Signed-off-by: Helber Belmiro <[email protected]>
Signed-off-by: Helber Belmiro <[email protected]>
Signed-off-by: Helber Belmiro <[email protected]>
(tests) - kogito-runtimes job Reproducerexport BUILD_MVN_OPTS_CURRENT=-T 1C -Dvalidate-formatting -Prun-code-coverage NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution Test results:
Those are the test failures: org.kie.kogito.persistence.kafka.KafkaProcessInstancesIT.testFindByIdReadModeexpected: 5 but was: 0 org.kie.kogito.tracing.QuarkusTracingAddonDevServicesIT.testEvaluateLoanEligibilityjava.lang.RuntimeException: Failed to start quarkus |
jenkins rerun kogito-runtimes tests |
SonarCloud Quality Gate failed. 0 Bugs 17.8% Coverage The version of Java (11.0.20) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17. Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
…function (apache#2993) * KOGITO-9158 Used RestWorkItemHandler as HTTP client in Knative custom function Signed-off-by: Helber Belmiro <[email protected]> * KOGITO-9158 Refactoring KnativeTypeHandler.java Signed-off-by: Helber Belmiro <[email protected]> * KOGITO-9158 Changed request timeout Signed-off-by: Helber Belmiro <[email protected]> * KOGITO-9158 Changed KnativeWorkItemHandler to extend RestWorkItemHandler Signed-off-by: Helber Belmiro <[email protected]> * KOGITO-9158 Fixed KnativeWorkItemHandlerProducer static method Signed-off-by: Helber Belmiro <[email protected]> --------- Signed-off-by: Helber Belmiro <[email protected]>
Jira: https://issues.redhat.com/browse/KOGITO-9158
PR to docs regarding the config name change:
KOGITO-XYZ Subject
[0.9.x] KOGITO-XYZ Subject
How to replicate CI configuration locally?
Build Chain tool does "simple" maven build(s), the builds are just Maven commands, but because the repositories relates and depends on each other and any change in API or class method could affect several of those repositories there is a need to use build-chain tool to handle cross repository builds and be sure that we always use latest version of the code for each repository.
build-chain tool is a build tool which can be used on command line locally or in Github Actions workflow(s), in case you need to change multiple repositories and send multiple dependent pull requests related with a change you can easily reproduce the same build by executing it on Github hosted environment or locally in your development environment. See local execution details to get more information about it.
How to retest this PR or trigger a specific build:
for pull request checks
Please add comment: Jenkins retest this
for a specific pull request check
Please add comment: Jenkins (re)run [kogito-runtimes|kogito-apps|kogito-examples] tests
for quarkus branch checks
Run checks against Quarkus current used branch
Please add comment: Jenkins run quarkus-branch
for a quarkus branch specific check
Run checks against Quarkus current used branch
Please add comment: Jenkins (re)run [kogito-runtimes|kogito-apps|kogito-examples] quarkus-branch
for quarkus main checks
Run checks against Quarkus main branch
Please add comment: Jenkins run quarkus-main
for a specific quarkus main check
Run checks against Quarkus main branch
Please add comment: Jenkins (re)run [kogito-runtimes|kogito-apps|kogito-examples] quarkus-main
for quarkus lts checks
Run checks against Quarkus lts branch
Please add comment: Jenkins run quarkus-lts
for a specific quarkus lts check
Run checks against Quarkus lts branch
Please add comment: Jenkins (re)run [kogito-runtimes|kogito-apps|kogito-examples] quarkus-lts
for native checks
Run native checks
Please add comment: Jenkins run native
for a specific native check
Run native checks
Please add comment: Jenkins (re)run [kogito-runtimes|kogito-apps|kogito-examples] native
for native lts checks
Run native checks against quarkus lts branch
Please add comment: Jenkins run native-lts
for a specific native lts check
Run native checks against quarkus lts branch
Please add comment: Jenkins (re)run [kogito-runtimes|kogito-apps|kogito-examples] native-lts
Full Kogito testing (with cloud images and operator BDD testing)
Please add comment: Jenkins run BDD
This check should be used only if a big change is done as it takes time to run, need resources and one full BDD tests check can be done at a time ...
How to backport a pull request to a different branch?
In order to automatically create a backporting pull request please add one or more labels having the following format
backport-<branch-name>
, where<branch-name>
is the name of the branch where the pull request must be backported to (e.g.,backport-7.67.x
to backport the original PR to the7.67.x
branch).Once the original pull request is successfully merged, the automated action will create one backporting pull request per each label (with the previous format) that has been added.
If something goes wrong, the author will be notified and at this point a manual backporting is needed.
Quarkus-3 PR check is failing ... what to do ?
The Quarkus 3 check is applying patches from the `.ci/environments/quarkus-3/patches`.The first patch, called
0001_before_sh.patch
, is generated from Openrewrite.ci/environments/quarkus-3/quarkus3.yml
recipe. The patch is created to speed up the check. But it may be that some changes in the PR broke this patch.No panic, there is an easy way to regenerate it. You just need to comment on the PR:
and it should, after some minutes (~20/30min) apply a commit on the PR with the patch regenerated.
Other patches were generated manually. If any of it fails, you will need to manually update it... and push your changes.